package com.xxkk.spring_boot_web.module;

/**
 * @author xxkk
 * @version 1.0.0
 * @title Status
 * @description ʕ•ᴥ•ʔ
 * @create 2024/4/30 10:53
 **/
public enum OrderState {
    create(0, "创建"),
    SUCCESS(1, "支付成功"),//支付成功
    FAIL(2, "失败"),
    submit(3, "提交"),

    mch_recharge_request_fail(101, "第三方平台请求支付交易失败"),//商户充值下单请求失败
    recharged(102, "用户第三方平台已充值，等待给玩家加分操作"),//已充值
    recharge_fail(104, "第三方平台返回充值失败"),//充值失败
    add_coin_fail(105, "玩家已充值当服务器玩家加分操作请求失败"),
    ;

    public String desc_;
    public int code;

    private OrderState(int code, String desc_) {
        this.code = code;
        this.desc_ = desc_;
    }
}
